ant war;
sudo $CATALINA_HOME/bin/catalina.sh stop;
sudo rm $CATALINA_HOME/webapps/ROOT -r;
sudo rm $CATALINA_HOME/webapps/ROOT.war;
sudo mv ./target/ROOT.war $CATALINA_HOME/webapps/;
sudo $CATALINA_HOME/bin/catalina.sh start;